<ion-view view-title="商品搜索" id="goods-search" hide-nav-bar="true">
  <ion-header-bar align-title="center" class="bar-calm">
    <div class="buttons">
      <button class="button head-button button-clear center-btn" ng-click="goBack()">
        <img src="img/order-commit/backIcon.png">
      </button>
    </div>
    <!--<h1 class="title">-->
    <!--</h1>-->
    <div class="bar bar-header item-input-inset searchBar" style="background-color: #c32506;position: absolute;left: 35px;width: 90%;bottom:30px;">
      <label class="item-input-wrapper">
        <i class="icon ion-ios-search placeholder-icon" style="font-size: 20px"></i>
        <input style="padding-right: 25px;" ng-model="searchInfo.searchWords" type="search" placeholder="请输入商品名或商品编号" ng-change="goSearch()">
      </label>
      <button id="searchButton" ng-hide="!searchInfo.searchWords" ng-click="clear()" class="wf-icon clean"></button>
    </div>
  </ion-header-bar>
  <ion-content>
    <div ng-if="nocontent" class="noGoods"><p>没有搜索到该商品!</p></div>
    <swipe-list items="goodsList" item-click="pick" item-remove="remove"></swipe-list>
    <ion-infinite-scroll
            ng-if="canLoad"
            distance="1%"
            immediate-check=false
            on-infinite="loadMore()"></ion-infinite-scroll>

    <div class="bottom-blank"></div>
  </ion-content>
</ion-view>
